<body style="padding:6px; overflow:hidden;"> 
  
    <div id="maingrid" style="margin:0; padding:0"></div> 
    <div style="display:none;"> 
  <!-- g data total ttt --> 
</div> 
  
</body> 
 
<script type="text/javascript"> 
 
//----------------------------------------------------------------------- 
 var g = null; 
        $(function () { 
           g = $("#maingrid").ligerGrid({ 
                columns:  [
	            	{ display: 'id', name: 'id', minWidth: 20, width: 20 },
	           	 	{ display: '域名称', name: 'name', align: 'left', width: 120, minWidth: 60 },
	            	{ display: '域所属的template_id', name: 'templateId', minWidth: 120, width: 120 }
	            ], 
			  pageSize:10, 
              url: '${appServer}/domain/query.json',
              root:'rows', 
              pageSize:10,
			  page:1,
			  record :'total',
			 pageParmName :'page',
			 pagesizeParmName :'pageSize',
              width: '100%',height:'100%' 
            });  
            $("#pageloading").hide(); 
        }); 
        function f_select() 
        { 
            return g.getSelectedRow(); 
        } 
 
 
</script> 